package HLLibClasses;

import HLCode.HLClassManager;
import HLCode.HLLibClass;
import HLCode.HLObject;
import HLLib.userControl.HLExchangeItem;

public class HLClassExchangeItem extends HLLibClass {
    public HLClassExchangeItem(HLClassManager owner) {
        super(owner);
    }

    public HLObject NewObject() {
        return new HLExchangeItem();
    }

    public void Execute(HLObject self, int index, HLObject args, HLObject resultOwnerObject, int resultIndex) {
        switch (index) {
        case 0: {
            ((HLExchangeItem) self).SetItem(args.GetInt(0));
            break;
        }
        }
    }
}
